package cn.dcpnet.sample.controller;

import cn.dcpnet.sample.pojo.base.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :   Dai Guoping
 * @version :   v1.0.0
 * @description Test
 * @date :   Created in 2022/5/24 下午10:36
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping(value = "/hello")
    public ResponseResult<String> hello() {
        return ResponseResult.OK("Hello");
    }

}
